package com.telrob.tool;

import android.content.Context;
import android.webkit.JavascriptInterface;
import android.widget.Toast;

public class MyToast {
    private Context context;
    public MyToast(Context c){
        context=c;
    }
    @JavascriptInterface
    public void toast(String message){
        Toast.makeText(context,message,Toast.LENGTH_SHORT).show();
    }
}
